package com.albbz;

public class TestShape {
	public static void darw(Shape shape) {
		shape.draw();
	}
	public static void main(String[] args) {

		Pentagon pn=new Pentagon(5);

		darw(pn);

		Rectangle re=new Rectangle(5);

		darw(re);

		Triangle te=new Triangle(5);
		darw(te);
	}
}
